﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

namespace Helper
{
    public class WorkFlowHelper
    {
        public static DataRowCollection GetCurrentWorks()
        {
            return null;
        }
        public static ZWL.BLL.ERPWorkFlowJieDian GetStartJieDian(int workflowid)
        {
            ZWL.BLL.ERPWorkFlowJieDian jd = new ZWL.BLL.ERPWorkFlowJieDian();
            int id = int.Parse(CommonHelper.GetFieldValueBySQL("ERPWorkFlowJieDian", "id", "workflowid=" + workflowid + " and JieDianAddr='开始'"));
            if (id > 0)
            {
                jd.GetModel(id);
                jd.ID = id;
            }
            return jd;
        }

        public static bool GoToNext(int workflowid, int jiedianid, string user)
        {
            return false;
        }

    }
}